package net.microfigure.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 参合登记实例表
 * </p>
 *
 * @author 林景锋
 * @since 2018-06-27
 */
@TableName("part_inst")
public class PartInst extends Model<PartInst> {

    private static final long serialVersionUID = 1L;

    /**
     * 参合登记编号
     */
	@TableField("part_no")
	private String partNo;
    /**
     * 家庭编号
     */
	@TableField("family_no")
	private String familyNo;
    /**
     * 姓名
     */
	private String name;
    /**
     * 性别
     */
	private String gender;
    /**
     * 年龄
     */
	private Integer age;
    /**
     * 联系方式
     */
	private String contact;
    /**
     * 家庭地址
     */
	private String address;
    /**
     * 参合时间
     */
	@TableField("part_time")
	private Date partTime;
    /**
     * 发票号
     */
	@TableField("invo_no")
	private String invoNo;
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	@TableField("family_info_no")
	private Integer familyInfoNo;


	public String getPartNo() {
		return partNo;
	}

	public void setPartNo(String partNo) {
		this.partNo = partNo;
	}

	public String getFamilyNo() {
		return familyNo;
	}

	public void setFamilyNo(String familyNo) {
		this.familyNo = familyNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getPartTime() {
		return partTime;
	}

	public void setPartTime(Date partTime) {
		this.partTime = partTime;
	}

	public String getInvoNo() {
		return invoNo;
	}

	public void setInvoNo(String invoNo) {
		this.invoNo = invoNo;
	}



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getFamilyInfoNo() {
		return familyInfoNo;
	}

	public void setFamilyInfoNo(Integer familyInfoNo) {
		this.familyInfoNo = familyInfoNo;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
